5.8.3 Step 0: Fix the boundary conditions