@Override
public void readFields(DataInput in) throws IOException {
super.readFields(in);
VectorWritable temp = new VectorWritable();
temp.readFields(in);
this.setCenter(new RandomAccessSparseVector(temp.get()));
this.setPointTotal(getCenter().clone());
this.setNumPoints(1);
}