Offsets to roots starts from 1 index