PVS: fix issues if numPhases != numComponents