sync geometry template
update fenwick