add toSegments
bump readme
1.1.0