harmonic: Add hacky flood fill algorithm.

Needs to be cleaned up.