Moved heap class