firstly add BMT.cpp