render dimensions and measures dynamically