index: optimizing a bit