1. A method for evaluating an evaluated pattern of a mask, the method comprising: receiving or calculating multiple moments that represent an image of the evaluated pattern; wherein a size of information required for representing the multiple moments is substantially smaller than a size of pixel information that form the image of the evaluated pattern; and processing the multiple moments in order to determine at least one shape parameter of the evaluated pattern.