How to recreate bend modifier with genome