Initialize heap arrays to 0