indexing euclidean norm