This should be in the precomputation in etna_compile_rs_state, not in the submit part