NEW: new extraction method: thresholded weighted-average
OPT: can now check for path