indexing errors on heap, removing all higher u_b