Slight boundary condition modifications.