max-chebyshev_y_min));

function chebyshev_client_to_x(client_x){
    return (client_x - chebyshev_client_x_center) / chebyshev_client_x_step;
}

function chebyshev_client_to_y(client_y){
    return (chebyshev_client_y_center - client_y) / chebyshev_client_y_step;
}

function chebyshev_x_to_client(x){
    return x * chebyshev_client_x_step + chebyshev_client_x_center;
}

function chebyshev_y_to_client(y){
    return chebyshev_client_y_center - y * chebyshev_client_y_step;
}

// Chebyshev points
var chebyshe