How to set solid boundaries