Can you explain in detail the indexing transformation in your paper? How do you map window indexes to grid indexes?