Make one_*_and_tree match input size

This was just an off-by-one error, I was generating an AND tree that
was one too big.