fix com computation in tests, add lower bound for ncellx
more center of mass shifting
use distance policy directly to find neighbouring cells