flow direction assignment build checkpoint