vectorization of bndprice