hold the optimal size i of the first piece to cut off