rewrite stacking algorithm and refactored line chart to leverage
clean up
preparing v1.4 release