Added boundry condition for 3-field.