instrument to print cpu times
new
new
avoid kernel lambda = 0 issue
new
fix problem when first k distances are the same