reset the data's location
add distance compute for preprocessing
build data format

which from points file(than can be any number of dimensions) to the data
file that cluser can recognize