Asalreadydiscussedinthecomments, to makethingssimple, youcanaddentriesto the array to make itssize a poweroftwo, so the binarytree has the samedepth for allleaves.
Just as every school child knows that water is formed by the two elements of hydrogen and oxygen in a very simple combination we all know as H2O, so deflation has its own elements of composition.