        breakpoints.push(-Math.exp(Math.log(-data[0]) * i / n));
                                    }
                                } else if (data[data.length - 1] < 0) {
                                    for (var i = 1; i < n; i++) {
                                        breakpoints.push(-Math.exp(Math.log(-data[0]) + (Math.log(-data[data.length - 1]) - Math.log(-data[0]))* i / n));
                                    }
                                } else {
                                    va