Avoid undefined behaviour if somehow NUM_GRAPHS equals 2^32 (or