Remove RDD.take to use the entire dataset