check if last row need to be resized