fix row height calculation
static example