indenting env to fit in matrix