Reorganized verticality logic.