fix ceil for vales near to 0