floor and ceil utilities