added a boundary condition for normalization.