Free energy landscape of protein-like chains with discontinuous potentials.