remove multirangeaggregate; work on flexible comparisons