bug TDI-29901 fixed: Problem with migration from 512 to 542
make it can be ran on extreme case