You need to understand the concept of a sliding float.