Optimal reconstruction systems for erasures and for the q-potential