add cast<float> to ceil anywhere calls ceil functions.