fixed threshold block and seems to work