Added minSize constant