Changed ceil for round

Ceil function give error when it round