only add the bnds dimension when necessary