RAM technique: Repeat, auto and minmax