WIP: Refactoring extent translation.

Change-Id: I404622e5c376f66ba16418c8e47b6bf7ff7b65aa