Untested logic for cell alignment