Remove loop

Verified by same benchmark and picking some random values.
No functional change.