Kernighan–Lin algorithm