Flooding algm update