Fast and accurate proximity effect correction algorithm based on pattern edge shape adjustment for electron beam lithography