added a lot of consts
benchmark some bigger trees