modified height of graph