fix factor of 2 error in max/min slit lengths