Consolidate heading atoms into one atom