Permute all the needed flows

This ensures that we have all the flows needed.