Fixing wrong parameter setting for mergeregions
Modifying method AUTOMATED for very small objects
Removing comments
Changing approach for small objects