Fixing outer boundary mode.