fix bug in wrongly inserted boundary and change parameter to +10/-10 interval