simplify heap initializer merging