added optional limit on independent clauses