Used random subset for grid searching