Convert thread pool sizes to integers
Remove unnecessary thread pool size conversions