Use floor division instead of converting type.