Flow partition

Thanks for the clarification and nice samples!