convert samples to features, is very slow
convert samples to features, is very slow