Nasir Hossain fell four runs shy of a century as Bangladesh were bowled out for 556 on the fourth morning of the first Test against West Indies in Mirpur.
Hossain added 63 to his overnight score but fell agonisingly short as he edged a Tino Best delivery to Chris Gayle in the slips.
Nevertheless, it was a productive morning for the hosts, as they added a swift 101 runs to establish a 29-run lead over West Indies, who declared their first innings on 527 for four.
Mahmudullah added 20 before departing on 42, caught at short leg off Sunil Narine, who also accounted for the other two wickets in the session.
Both were bowled, Sohag Gazi past outside edge for four and Shahadat Hossain, only four balls after Hossain's demise, between bat and pad for 13.
The West Indies faced four overs before lunch, making eight without loss.
Gayle found the boundary once as he contributed seven, while Kieran Powell was on one.