add positions to squares