Reimplemented dynamic width + height