compute the requestElements only once