A note on Cherkasky's algorithm for the maximum flow problem