FLEX-32959 use calculated height