add linear interpolation to find cell height.