Add the code which produce npy file to link indices and their positions.