fixed BWTN only using last iteration