Correct calculation of largest free memory block.