how to create dimensions from cavity?