Add the LongVector class to deal with possible large outcomes