improve performance rpt_get_objects_most_used