def METHOD_NAME(item, stereo_exp_data: StereoExpData, res: dict):
    try:
        __import__(f"stereo.algorithm.{item}")
    except:
        raise AttributeError(f"No attribute named 'StPipeline.{item}'")
    # TODO: this may be not the best way to get sub-class
    # num of subclasses may be like 100-200 at most
    for sub_cls in AlgorithmBase.__subclasses__():
        sub_cls_name = _camel_to_snake(sub_cls.__name__.split(".")[-1])
        if sub_cls_name == item and sub_cls.__name__ != 'ms_data_algorithm_base':
            # snake_cls_name as method name in pipeline
            sub_obj = sub_cls(stereo_exp_data=stereo_exp_data, pipeline_res=res)
            return sub_obj.main
    return None