maxflow temp

Signed-off-by: Darren ha <nberserk@gmail.com>