corrections to full to band 3D code.  Not working when b_agg != n, working otherwise