Optimize watershed: unroll neighbour loop