adjust size to lines + 1