Simplify round code