Strange Layout Algorithm.