Fixed the problematic heap and the path construction