1.3

need add code to reduce the ab pruning duplicated stages