Slight optim: resuse the index position instead of recomputing it #49.