Storing the combined key as a primitive int is fine.