Add 2d index on location