Improving cursor performance with geometry tokens