pattern3_record(): Take pattern3s instead of direct table pointer