pre-equation for width / height