Flow operation improvements

Debug mode very slow, but Release mode very fast now..