added slim version of array heap