Sets height of dimensions table dynamically