small improvement on Point3D.set function