Remove superfluous code for floor and ceil