made changes to the dimension computation api which cause compilation issues