auto strip trailing whitespaces
fix creation of parser class
added get_segment_efforts