split expand and merging