folder length must be computed before filtering.  closes #214.