A structural perspective of compensatory evolution