basic version of differential aggregator. before adding kd trees