Upgrading transition layout processor algorithm.