Volume decomposition of CAD models for rapid prototyping technology