New Zealand take giant stride as Bangladesh suffer batting collapse