Square perimeter of particles