customCeiling function

Function to do ceiling at different levels