PT_DESCENDING
if (direction != PT_ASCENDING && direction != PT_DESCENDING)
if (direction == PT_DESCENDING) {
if (direction == PT_DESCENDING && !PT_NULL_P(mask_node)) {