aligning with constraints