flood fill prototypes