change name to min-ends-length
update docs