Updating the dimensions logic to ensure no 0.0 default values