for conversion between circuits of different phase number