speed up fan2jian

change to new alg. for F2J
fix vbookmargin issue