Resolution of bug of label size computation