remove vector.rb use from statsample instead