Changing reduce by key cacheing