alues.push(Math.floor(Math.sin(Math.random() * Math.PI / 2.) * 640));
	values.sort(function(a, b){return a - b});
	return values;
}

function less_in_the_middle_ascending() {
	var values = [];
	for(var i = 0; i < 640; ++i)
		values.push(Math.floor((Math.sin(Math.random() * Math.PI - Math.PI / 2.) + 1.) / 2. *640));
	values.sort(function(a, b){return a - b});
	return values;
}

var values = uniform_ascending();

function search_path(a, b, proportion) {
	if(a == b)
		return [[a, b]]
	const mid = Math.floor(a 