Change slot height calculation