22.6.4 Step 0: Fix the boundary conditions