Text this: Operating cost reduction in distribution networks based on the optimal phase-swapping including the costs of the working groups and energy losses