Add helper function for calculating offset to first constituent.

Change-Id: I436d91eb99bbfa178faa30cbb70a895f693aab83
2 files changed