little change to barcode1d.hpp