different implementations of vptree