Merging features in same layer