follow stog: use new Stog_path module and set of ids instead of list