Before revision:  This is repeated until a customer cannot find another customer to be swapped with anymore ;
After revision:  This is repeated until a customer cannot find another customer to be swapped with ;