Update BANDW.cpp