Declare them in contract() statement, but decide their position later, so compiled bytecode can add them later to avoid unnecessary stack juggling