Revert " moved to refcoutn for hspace"

This reverts commit 498d1225ce870019d1319cefc561a75e6e5ddebd.
moved hspace to primitive kref , now the hard part implementing the get
put across the module