c++ basic offset, expand region key change