click to center
optional cap for iters and res