handled walk distances for groupings in stats