Corey Anderson's century put New Zealand in control after day three of the deciding second Test against Bangladesh in Mirpur.
The big-hitting Anderson made 116 and put on 140 with Kane Williamson, who compiled 62 having retired hurt at one stage yesterday.
Further half-centuries from Ross Taylor, BJ Watling and Ish Sodhi saw New Zealand to 419 for eight, with the latter pair still together at the close.
In the early part of the day, Taylor quickly perished after reaching his fifty, for 53, edging Shakib Al Hasan to Nasir Hossain.
Anderson played himself in responsibly before upping the ante to reach a 71-delivery half-century.
Williamson followed him to the landmark in a more pedestrian 105 deliveries, after which Anderson continued his assault to reach three figures off 139 balls.
His partner did not make full use of being dropped by Mushfiqur Rahim, skying Abdur Razzak to Tamim Iqbal at deep midwicket on 62.
Al-Amin Hossain took the big wicket, his first in Tests, when Anderson drove to Sohag Gazi at extra-cover. He hit 13 fours and two sixes in 173 balls.
However, Watling was on hand to prosper thereafter and - either side of Doug Bracewell and Neil Wagner falling, the former caught behind to give Shakib a five-for - found a willing partner in Sodhi.
The duo had put on 84 by the close, with the former unbeaten on 59 and the latter 55, for a first-innings lead of 137.
The sole Twenty20 international between Bangladesh and New Zealand on November 6 has been moved from Sylhet to Mirpur.