Added fast memory element.
Added index threshold.