improve definition of originalContainerDim