now it´s possible to change the minimum number of entries, otherwise the subset array of street array is sorted and the first and last entry is printed out