Added blockThreshold.py