frame cooccurrence class; frame builder with depth parameter