generate feature vector with MedianCut