more segments, tuned the algorithm a bit more