Pwd: getting rid of magic number for min length