It’s an insult. It implies that that you are intellectually challenged in the way that a midget is vertically challenged. As far as I know, intellect has never been determined by height. And for the record, your classmates’ behavior was not very ethical at all.