wip
WIP merge (up to scaleRanges)