further refinement of auto-detecting integer types