moved cluster and control point computation to bundling.js