set a ref for non-level anchors
add calc_f3 to cal structure factor
after merged