moved to refcoutn for hspace
Merge branches 'blopeur-dev' and 'kref_hspace' into kref_hspace