Bangladesh fought back against New Zealand in Christchurch to leave the second Test in the balance on Saturday.
Dismissed for 289 on day one, the tourists reduced the Black Caps to 260-7 in response at Hagley Oval.
Shakib Al Hasan (3-32) and Kamrul Islam Rabbi (2-48) led Bangladesh on the second day to leave them with hope of drawing the two-Test series.
Ross Taylor (77) and Tom Latham (68), along with Henry Nicholls (56 not out), were the top-scorers for New Zealand.
Needing early wickets, Bangladesh squandered a chance by dropping Jeet Raval in just the fourth over.
Raval was put down once more, this time by Sabbir Rahman, but Rabbi would strike twice in an over.
The opener (16) dragged on a delivery before Kane Williamson (2) went two balls later, the captain edging a brilliant outswinger behind to Nurul Hasan.
Taylor and the in-form Latham, who made a ton in the series opener, put on 106 off just 24 overs for the third wicket.
But Latham edged Taskin Ahmed (1-64) through to Hasan before Taylor was dropped.
However, it would not prove to be costly as Taylor was caught by Taijul Islam at mid-wicket off Mehedi Hasan (1-51).
New Zealand looked in complete control at 252-4 before Shakib struck three times late in the day.
Mitchell Santner (29) was lbw and BJ Watling (1) lasted just four balls before he edged onto his stumps.
Colin de Grandhomme (0) was clean bowled, but Tim Southee (4) managed to get to stumps, called after persistent drizzle and bad light meant an early finish to a good day for Bangladesh.