error is thrown when particles are on box edges that cause the kdtree made during tangos calculations to become non periodic.