Added CPU count check to set -j value