fix indexes in bin min heap