introduced the definition REF_COUNT_MAX