remove palams for flow algorithm from edge