This new line is the same as the contents of the cellDistance() function, but without the ceil() function or the cast to unsigned int.