Direct Metal Rapid Casting: mechanical optimization and tolerance evaluation