fixed math to show heap size in bytes