A stencil penalty method for improving accuracy of constraint immersed boundary method