updated the section that combines the 512 bands into specific element bands