Finding segments Fixes #7