Fixing the num threads constant