Made tree array struct more sensible