Adaptive threshold modified. Bin identification is now less irregular, but still no where near constant