ALPHA and THRESHOLD values are now supplied by arguments to the constructor