commenting heap function temporarily for speeding up the process