Minor improvement in phaseLabels creation