Changed: Only energy spectrum hist is prepend and appended with zero.