A new method to the treatment of corners in the BEM