added another insert to count multiplicities of clustered solutions