add float clipping