so close on EstDim... still some slight errors