minor fix for migration overhead when iteration is odd