added model box creation method with scaleFactor parameter