seeing if generate_n is faster or filling the vector by looping faster