move guess_collection_level out into its own function

issue #111