### Instruction:

Extract the cause and effect entities from the following sentence:
When used to derive the position of future spatial samples based on past information the estimated grid is generated

### Assistant:

KEYWORD: When
CONDITION: is generated
VARIABLE: the estimated grid
CAUSE_1: used to derive the position of future spatial samples based on past information
EFFECT_1: the estimated grid is generated

