Wrote the map reduce jobs to compress coordinates