I have a plot of normalised distance (range 0-1) on x-axis, and an index values on the y-axis. The index values sum up to 100%. I want to find the top accumulated 10%, i.e.