The science of grading patterns for men's, boys' and children's clothing