mongo: floor and ceiling