Fix bootstrapping problem with optimization to erasure map