better splitting in Euclidean distance using Metropolis-Hastings