changing basic block structure