Add back valueThreshold and useValueAfterDepth

Created by  Dan Bravender  on January 19, 2023
FAYXGKV6PUEUYD7BKKV27RKCIJ44WD4L4ZO5ICC5XD5KK5I7X2LQC
Change contents