otherDimension = Math.max(1, otherDimension / 2);