Finalized histogram merging