reducing number of 'expensive operations' in fvar