change to ht size calculations