debugged ebb_flood split