fixed boundary problem