covert BM to matrix, avoid bm.options