`queueSize == 0 ? 1 : coreThreads` could be moved to line 52, where coreThreads are computed