initial precalc done, results in js/graphs.js