geometric-in-scala