New score function with geometric constraints.