adding function determineHeightBias