min feature spacing scripts made to match