But it seems to me that if there is a binary formatted use case we should add getHeapCost