d3 pack layout finally working