fixed the overlapping problem in Crystal2D