Parsing inflected forms may not always work as expected. If the following does not give the correct word, try Latin Words or Perseus.
† mĕgălīum (mĕgallīum), ii, n., = μεγάλειον, a kind of ointment: postea multo successit propter gloriam appellatum megalium, ex oleo balanino, balsamo, calamo, junco, xylobalsamo, casia, resina, Plin. 13, 1, 2, § 13.