fix calling alpha beta as standalone algorithm