[Amibe] Make Skeleton and TriangleKdTree reproducible in assert mode