loop on first index is faster