private static boolean isNotSuitablyAlignedToInt(int value, @NotNull ScaleContext ctx, @Nullable ParityMode pm) {
    double scaled = devValue(value, ctx);
    int rounded = (int) Math.round(scaled);
    boolean aligned = Math.abs(rounded - scaled) < 0.0001;
    boolean parityMatches = pm == null || ParityMode.of(rounded) == pm;
    return !(aligned && parityMatches);
  }
private static boolean isNotSuitablyAlignedToInt(int value, @NotNull ScaleContext ctx, @Nullable ParityMode pm)