Integrated Hungarian Algo implementation by Wenting