Slightly different trip segmenet separating algorithm