Fix integral division