Improved solid decomposition algorithms for the CAD-to-MC conversion tool McCad