Coherent synchrotron radiation and bunch stability in a compact storage ring