prevent merging neighbor divisions if no free pixels (github issue #1)