Fixed bub in BuildGeometry

No match.