Implemented get_suitable_begin_times