squares alignment