update tracer to create many fewer arrays
add new environment