uses parallel reduce for computing delta