split BasicBlock first working, needs debugging