need to debug and make sure alpha-beta terminates v21