Added Array tree AV to show bug example
Changed variable names to make them more clear