Replaces division with shift