Change windowing threshold to be % of window covered