merging of datadefintions and ranges