added scan-polarity filter to FileFilter ...

and

+ RangeUtils speed improvement by 24% via XOR

+ minor fixes