change number of chunks for distance average