MAX_XPAIRS_INCREMENT
current_max_xpairs += MAX_XPAIRS_INCREMENT;
memset((chk + old_max), 0, MAX_XPAIRS_INCREMENT * sizeof(int));