Fix a bug in CellIter

get_minimum_corner_distance2() was not implemented correctly.