Bangladesh is all out in 173 runs in their second innings on the fourth day of the Christchurch Test.