add ret type for 8 bit values.
ilog changes.
bheap changes.