added heap visualization