added horizontal and vertical dots space, fixed number of lines / sizeForNumberOfPages overritted