updated dotsplat to use a function for bootstraping