Use signed division in offset computations