Rewrite the entire flood ball decomposition