Bug removed - distance was not between 0 and 1.
Bug removal. Not all the objects in the archive were accessed.