Changed default number of segments to 5