move respect equivalence to comparisonScript, from balanced_mapScript