Refactor ab pruning and force first move