adding bXing shift correction to mk_tree.C