script to calculate cutoff for decisions on DVM strategy