Weird, last commit didn't seem to stick. This parallelized watershed algorithm should work.