Chile's strict building codes limited the damage of the earthquake, which prevented the death toll from being even higher.