add computational time for medoid by exhaustive search