{'fraction_non_alphanumeric': 0.024613256838438683, 'fraction_numerical': 0.010629033910459993, 'mean_word_length': 5.061005898789196, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Using the Lonsdorf model for estimating habitat loss and fragmentation effects on pollination service

One of the most important issues related to landscape ecology and ecosystem services is finding the pattern of habitat patches that offers the highest pollination in agricultural landscapes. In this regard, two processes of habitat loss and fragmentation strongly affect the relationship between pollination and the pattern of habitat patches. In the present study, we aimed to examine the effects of habitat loss and fragmentation on pollination separately. For this purpose, first, we generated different simulated agricultural landscapes, including two habitats of forest and agriculture. Then, according to the Lonsdorf model, we estimated the potential of the simulated landscapes in providing pollination in different scenarios. Finally, using statistical models, we estimated the effects of habitat loss and fragmentation on pollination at the landscape and farm levels. Our results showed that the effects of habitat loss and fragmentation on pollination were completely different at the landscape and farm levels. At the landscape level, fragmentation negatively affected pollination, but at the farm level, the maximum pollination rate was observed in the landscapes with a high degree of fragmentation. Regarding the habitat loss effects, our results showed that pollination decreased linearly at the landscape level as habitat amount decreased, but at the farm level, it decreased exponentially. The present study considered the level of analysis (i.e., landscape and farm levels) as a critical factor affecting pollination changes caused by fragmentation. We showed that using the Lonsdorf model could lead to confusing results for the landscape ecologists and alert farmers who want to reduce the adverse effects of fragmentation on their products by creating new forest patches. Therefore, agriculturalists and landscape ecologists should consider that the pollination rate at the landscape and farm levels is completely different according to the model and provide contradictory results about the process of habitat loss effects on pollination.


Introduction
Pollinators have significant economic value, and at least 35% of the world's food products are directly dependent on these organisms (Klein et al. 2007). Although farmers typically use honeybees to pollinate their crops, the recent decline in their activity and population ) has focused on wild bees and their function in nature. In the absence of honeybees, several studies have reported that wild bees could increase agricultural yields, especially in orchards (Garibaldi et al. 2013). For example, for some crops such as blueberries, wild bees are more efficient than honeybees (Kevan et al. 1990). In recent years, concern has aroused related to decreasing pollinator population worldwide (Viana et al. 2012;Potts et al. 2016). Today, agriculture is more dependent on pollinators, and the shortage of pollinators increases the demand for arable land, which is more critical in developing countries ). This has given rise to rapidly growing studies identifying pollinator threats in the agricultural landscapes.
Wild bees often rely on non-agricultural habitats (such as forests) for nesting; they move from these habitats to farms to carry out the pollination process (Ricketts et al. 2008). There is strong evidence that landscape structure changes (such as the size, arrangement, and shape of patches) have significant effects on wild bees (Syrbe and Walz 2012). Therefore, in terms of pollination in agricultural landscapes, it is of high importance to understand how wild bees are affected by landscape configuration (Olsson et al. 2015). It has been demonstrated that the abundance of wild bees and their diversity in habitats such as farms depend not only on the quality of the farms but also on the distance between the nesting habitats and the patches of their foraging habitat (Ekroos et al. 2013;Gathmann et al. 1994;Ricketts et al. 2008;Steffan-Dewenter and Schiele 2008). In addition to a sufficient amount of nesting habitat, a landscape should provide sufficient floral resources for pollinators (Kline and Joshi 2020).
Habitat loss and fragmentation processes are known as primary threats to pollinators ). Habitat loss and fragmentation often occur simultaneously but have different ecological effects. Habitat loss occurs when the habitat amount is decreasing, and if this trend continues, the habitat will disappear. In contrast, fragmentation is breaking a single large habitat patch into multiple smaller ones. It is well established that habitat loss and fragmentation have devastating effects on biodiversity and ecosystem services (Haddad et al. 2015). These processes isolate natural habitat fragments, such as forests, surrounded by agricultural fields (Fahrig et al. 2011). The isolation of the natural patches exerts influence over the ecosystem service provision since it affects the movement ability of organisms (Mitchell et al. 2014).
Habitat loss and fragmentation make it challenging to find nesting sites and floral resources because bees need their nesting and floral habitats to be adjacent (Kline and Joshi 2020). Habitat loss affects the abundance and diversity of pollinators mainly because of decreasing floral resources (Winfree et al. 2011). This would be more critical for the wild bees which nest in tree cover (Kline and Joshi 2020). Habitat loss results in decreasing flower density in an area consequently reduce visiting rate (Hegland and Boeke 2006), which can change foraging behavior (Dauber et al. 2010). Habitat loss also negatively affects the wild bee's accessibility to food resources, and they have to move more distance and take more time to find food, leading to reduced protein content in the larvae (Kline and Joshi 2020).
The results of studies examining the effects of habitat loss and fragmentation show that the effects of fragmentation are more notable at low habitat amounts (Maurer et al. 2020;Rybicki and Hanski 2013). This nonlinear fragmentation hypothesis states that landscape configuration is significant only below a critical proportion of habitat, around 10-30% (Fahrig 1998) because patches are small and isolated enough to prevent organisms from moving in the landscape (Gardner et al. 1991). The responses of pollination service are expected to be nonlinear concerning fragmentation effects (Tscharntke et al. 2008), meaning that the adverse effects of fragmentation on pollination occur when the amount of the habitat of interest is low, i.e., less than 10% of the total landscape. Mitchell et al. (2015a) examined the effects of habitat loss on distance-dependent services such as pollination. They predicted that the highest levels of distance-dependent ecosystem services occurred in landscapes with moderate habitat amounts and fragmentation. At moderate habitat amounts, Mitchell et al. (2015b) also found that when the effects of fragmentation on ecosystem service supply were opposite flow, ecosystem services reached their maximum.
Most studies investigate fragmentation simultaneously with habitat loss (Fletcher Jr et al. 2018), while habitat fragmentation independent of habitat loss has a different meaning and is known as "fragmentation per se" (Fahrig 2017). Fragmentation per se implies that the habitat amount in a landscape is constant, and only the patches' configuration changes. Therefore, it is possible to manage the ecosystem service provision by controlling the natural patches' configuration (Fahrig et al. 2011). The effects of fragmentation per se on biodiversity are much weaker than habitat loss, and they are often useful. For example, Fahrig (2017) reviewed 381 studies related to habitat fragmentation per se effects on biodiversity. They found that 290 (76%) of them reported positive effects of fragmentation per se. Maurer et al. (2020) also emphasized the importance of studying the effects of fragmentation per se on pollinators to guide the spatial optimization of landscapes to increase pollination. However, it is difficult and time-consuming to predict the effects of habitat loss and fragmentation per se on pollination based on field experiments and surveys. Therefore simulationbased predictions are recommended (Häussler et al. 2017). In landscape ecology, we can examine the effects of habitat loss and fragmentation on pollination at four levels according to a logical hierarchical organization of spatial heterogeneity in a landscape (McGarigal et al. 2002): (1) cell, (2) patch, (3) class, and (4) landscape. At the class level, the within-patch heterogeneity is ignored, and all patches related to a certain cover are assigned a distinct value to represent the composition of the patches. At the landscape level, we focus on the spatial aspects and distribution of all patches related to all covers in the landscape.
Lonsdorf and colleagues proposed a model in 2009 that has been widely used in predicting pollinator abundance in a landscape (Lonsdorf et al. 2009). This model assumes that the wild bees return to the nest after collecting pollen and nectar. So, the visiting rate in a patch with floral resources depends on the distance between the nesting habitat and the patch (Lonsdorf et al. 2009). Initially, it develops an indicator to estimate the relative abundance of species in nesting habitats based on the pollinator species' habitat needs, food resource availability, and foraging ability of the pollinating bees. In the next step, it predicts the abundance of each pollinating bee in the agricultural fields. According to the model, natural habitats such as forests are assumed mostly to provide nesting habitats for pollinating bees, while the surrounding areas are assumed to be used for foraging. Pollination in natural forest fragments is an ecosystem function and is different from crop pollination that is an ecosystem service. The Lonsdorf model considers both ecosystem function and service of land covers and displays them together on a map. This model logically predicts pollination in a landscape (Kennedy et al. 2013) and is the first explicit spatial model in this field (Lonsdorf et al. 2009). The Integrated Valuation of Ecosystem Services and Tradeoffs (InVEST) software, as a widely used tool in ecosystem service mapping, contained the Lonsdorf model to estimate pollination (Sharp et al. 2014). Notably, the Lonsdorf model assumes that pollinators' abundance is equal to pollination. In other words, the more pollinators, the more pollination. Although pollinators' existence in an area does not always mean pollination, it can be regarded as a pollination proxy. Therefore, the output of the Lonsdorf model is considered a pollination map (Lonsdorf et al. 2009). Similarly, in this study, we assumed the output of the Lonsdorf model as a pollination map. Although the Lonsdorf model is utilized in many studies to estimate pollination, none of them has modeled the effect of habitat loss and fragmentation per se on pollination using the model. Considering the background previously discussed, this research was conducted using the Lonsdorf model to answer the critical questions as follows: (1) What are the effects of habitat loss and fragmentation per se on pollination? (2) Which pattern of forest patches offers the highest pollination level in an agricultural landscape? (3) Which of the landscape metrics can be considered as a proxy for pollination?

Generating simulated landscapes
Compared to real-world landscapes, simulated models have fewer limitations and enable us to examine certain aspects of a landscape. In the present study, we generated simulated agricultural landscapes, including two classes of forest and agriculture. Using the NLMR package (Sciaini et al. 2018) in R software, maps with dimensions of 50 by 50 cells with different proportions of forest habitat and degrees of fragmentation per se were produced (Fig. 1). The proportions of forest habitat were variable from 5 to 50% (0.05, 0.1, 0.2, 0.3, 0.4, and 0.5) of the entire landscape. At each of these proportions, the degree of fragmentation per se changed from highest (0.01) to lowest (0.5) using parameter p (the proportion of elements randomly selected to form clusters) in the NLMR package. We considered each cell area being 100 m 2 , meaning that each landscape covers an area of 2500 ha. To examine the effects of habitat loss on pollination, we used the GradientLand software (Cambui et al. 2015) to produce a set of landscapes that at each stage a certain amount of habitat was reduced so that in the last stage the entire habitat was destroyed. The Gradient-Land software creates random and fractal simulated landscapes. For fractal landscapes, it uses the parameter H termed the Hurst exponent (Feder 2013) to determine the forest fragmentation rate. In the present study, both random and fractal series were used (Fig. 2).

Estimating pollination in simulated agricultural landscapes
The assumptions of the Lonsdorf model are as follows: (1) The Lonsdorf model assumes that each habitat in a landscape such as agriculture, forest, pasture, Fig. 1 Examples of simulated agricultural landscapes in different forest proportions (black patches) and degrees of fragmentation. In this figure, the habitat amount is constant in each column, and only the degree of fragmentation changes. In each row, the habitat amount increases from landscapes on left to the right ones and the city could have the potential of providing both nesting and foraging habitats. This model considers the potential of each patch in providing mentioned habitats between 0 and 1. For example, for forest habitat in a landscape, a high potential for nesting habitat can be considered one and at the same time, if it does not provide any food, meaning that no floral resources can be found in the forest, the zero is considered for its potential.
(2) The model first estimates the fitness or suitability of the patches for nesting according to the potential of the patches themselves in providing nesting habitat and the floral resources around them (Eq. 1). In evaluating floral resources around the nests, near pixels weigh more than distant ones according to the ability of the bees to move (α). The result is a map showing the fitness of nests between 0 and 1.
(3) This model assumes that all landscape cells are involved in determining the patch potential in providing nesting habitats, even those that are beyond the foraging range of bees (α). (4) In the next step, the model predicts the relative abundance of visiting bees in agricultural fields according to the desirability of the nests (Eq. 2). It assumes that the abundance of bees decreases exponentially with increasing distance from the nesting patches. (5) In cases that nesting patches have a higher value than surrounding floral resources, the central cells of the patches always receive the highest scores, and the marginal cells receive lower scores. Therefore, in the output maps resulting from this model, it can be seen that the central cells of the patches are most likely to be pollinators.
In this equation, if the habitat is suitable for nesting the desired species, N i is equal to 1 and otherwise equal to 0. D ij is the Euclidean distance between nesting cells (i) and floral resource cells (j). The numerator is the total weight of the distance between all cells of floral resources adjacent to nesting patches. The quality of these cells (F j ) is between 0 and 1. In many agricultural landscapes, the abundance and variety of bees are reduced at distances of 50 to 500 m from forest patches (Bailey et al. 2014). In the Lonsdorf model, α determines the average distance that a bee can travel from forest patches to agricultural lands. We considered α being 10 pixels. The output map of Eq. 1 shows the fitness of the nesting patches for wild bees between 0 and 1.
To determine the bees' abundance on farms, similar to the framework of Eq. 1, cells from farms that are closer to the nesting habitats receive more probability of wild bee abundance. Thus, the abundance index of P in j cells is calculated according to Eq. 2, in which G i shows the fitness of nesting patches that was obtained in the first step. In the present study, the relationship between Fig. 2 Examples of simulated landscapes of the GradientLand software with random pattern and nine levels of Hurst exponents for fractal. In this figure, the random pattern has the most fragmented pattern, and for the fractal pattern, the degree of fragmentation decreases from H1 to H9 landscape patterns and pollination was estimated at two levels: (1) The relationship between landscape structure and the average pollination rate in each landscape cell, including floral resources and nesting habitats (at landscape level). (2) This relationship was examined only based on the average pollination rate on the farm habitat (at class level). These steps were performed separately for the two processes of habitat loss and fragmentation per se.

Landscape metrics
Landscape metrics measure two fundamental aspects of landscape structure: composition and configuration. Landscape composition refers to the variety and abundance of patch types regardless of their spatial aspects of distribution. Landscape configuration refers to the spatial aspects or distribution and position of landscape components (Leitão et al. 2012). In the present study, nine commonly used metrics were calculated for all simulated landscapes using the Fragstats software (McGarigal et al. 2002) at the landscape and class levels (Table 1). Stepwise multiple regression was performed in the Minitab software to determine the direction and magnitude of the interaction between the landscape metrics and pollination. In this research, we used the stepwise method, which starts at the forward selection, but the possibility of deleting a predictor, as backward elimination, is considered at each stage (Chong and Jun 2005). The probability value for entering variables into the stepwise models was set at 0.05, and the probability to remove was set at 0.1. This procedure automatically selects variables that are significantly important in the model using different procedures (Ryan et al. 2012). The last model presented in Minitab will be the best found using stepwise regression. The advantage of stepwise regression is that this method selects the best subset of independent variables that are not correlated with each other, and therefore considers multicollinearity between predictors. In the present study, pollination was considered as the dependent variable, and all landscape metrics were included as predictors in the regression models.

Results
The effect of habitat fragmentation per se on pollination at the landscape and farm levels Figure 3 illustrates the pollination changes against the fragmentation of nesting habitat in different habitat proportions at the landscape level. In this figure, the vertical axis shows the average pollination rate at the landscape level, and the horizontal axis demonstrates the degree of fragmentation per se, which decreases from 0.1 to 0.5. Concerning Fig. 3, it can be seen that the maximum level of pollination was obtained at the minimum level of habitat fragmentation per se. In other words, fragmented patterns of forest patches reduced pollination at the landscape level. It is noteworthy that the difference a ij area (m 2 ) of patch, A total landscape area (m 2 ), n i number of class i patches in the landscape, e ij total length (m) of edges of patch ij, including landscape boundary, c area (m 2 ) within patch ij separated from its boundary by a user-specified buffer width (m), g ii the number of adjacencies (contiguity) between pixels of patch class i, max g ii maximum possible number of adjacencies among pixels of patches of class i, h ij distance (m) from patch ij to the nearest neighboring patch of the same type (class), based on patch edge-to-edge distance, computed from cell center to cell center (McGarigal et al. 2002) between the maximum and minimum levels of pollination, especially in proportions less than 0.1, was not remarkable. Figure 4 shows the pollination changes at the farm level concerning fragmentation per se and different forest proportions. Inconsistent with landscape level, pollination declined as fragmentation increased at the farm level. Therefore, the maximum level of pollination was observed at the maximum levels of fragmentation per se. This result was more considerable in high habitat amounts, i.e., 0.4 and 0.5 of the entire landscape. Similar to the landscape level, the relationship between fragmentation per se and pollination was linear, and there was no notable difference in the level of pollination in fragmented and aggregated patterns at the farm level. The most notable result was that according to the Lonsdorf model, the effects of fragmentation per se on pollination at the landscape and class levels were completely different and opposite to each other. Another important result was the difference between maximum and minimum levels of pollination that remained relatively unchanged concerning fragmentation per se trend in low habitat amounts (less than 0.1). Table 2 demonstrates the statistical relationship between landscape metrics and pollination at landscape and farm levels. This table provides more information about the pollination changes caused by fragmentation per se. In this table, P is the abbreviation of pollination that was considered as the dependent variable in the regressions models. In the habitat fragmentation per se trend, some landscape metrics like the number of patches (NP), edge density (ED), perimeter-area fractal dimension (PAFRAC), and division index (DIVISION) In general, two metrics DIVISION and ENN-MN showed a stronger relationship with pollination than other metrics at the landscape level. The DIVISION indicates the degree of aggregation of patches, and the high numbers of this index indicate the low aggregation of the patches. The behavior of this index is the opposite of the aggregation index (AI). The negative correlation between the DIVISION index and pollination at the landscape level showed that landscapes with a high degree of fragmentation provided more pollination. The Euclidean nearest-neighbor distance (ENN-MN) shows the degree of connectivity of all patches and approaches 0 as the distance to the nearest neighbor decreases. Considering the positive relationship between this index and pollination, it can be concluded that habitat connectivity increases pollination at the landscape level (Table 2).
At the farm level, the relationship between fragmentation per se and the DIVISION was different from the landscape level. The DIVISION was positively correlated to pollination, indicating that increasing fragmentation of forest patches increased pollination at the farm level. The number of patches (NP) also confirmed the previous results. The negative relationship between this metric and pollination implied that in the landscapes where the habitat amount was constant, reducing the number of patches led to a decrease in pollination at the farm level. This effect was opposite at the landscape level though. The shape complexity of the patches was measured by the PAFRAC. This metric showed that increasing shape complexity increased pollination at the farm level (Table 2). In general, the statistical results showed that increasing aggregation, complexity, and the number of patches increased the pollination rate at the class level. However, at the landscape level, the result was different. Our results also showed that the statistical relationship between pollination and landscape metrics in low habitat amounts (less than 0.1) was not remarkable compared to other proportions at the class level.
The effect of habitat loss on pollination at the landscape and farm levels Figure 5 shows the pollination changes caused by habitat loss in different simulated landscapes (random and fractal) at the landscape level. Pollination trend diagrams are shown for a random pattern (highest degree of fragmentation), H1 pattern (high degree of fragmentation), and H9 pattern (lowest degree of fragmentation) with slight differences of pollination levels from each other. At first sight, it can be viewed that there is a little difference between estimated pollination in fractal and random patterns. Among the datasets used in this section, the random pattern had a more fragmented pattern than the fractals, and as a result, as shown in Fig. 5 with the black line, the pollination rate was lower in random patterns than fractals. It can be concluded that fragmented patterns provided less pollination at the landscape level than aggregated patterns. It is important to note that the effect of the datasets used in modeling the effects of habitat loss on pollination was not much remarkable at the landscape level (Fig. 5). The most notable result was that pollination showed a negative linear relationship with the habitat loss trend, and the maximum level of pollination was obtained at the maximum amount of nesting habitat in all patterns. Figure 6 shows the pollination changes according to the habitat loss trend at the farm level. In comparison with the landscape level, there is a non-linear relationship between habitat loss and pollination in the fractal Table 2 The statistical relationship between landscape metrics and pollination at landscape and farm levels. P is the abbreviation of pollination that is the dependent variable in the regression models patterns. As expected, similar to the previous results, fragmented patterns increased pollination at the farm level as the random pattern showed a higher pollination rate. This result was also resembled in fractal patterns, as the H9 pattern that had the maximum aggregation of forest patches reduced pollination considerably. At the low levels of habitat loss, pollination decreased sharply from 0.9 to 0.1 in the H9 pattern at the farm level (Fig.  6). In general, the most significant effect of habitat loss on pollination was seen at the farm level that reduced the pollination rate exponentially in fractal patterns. Another notable result was that the maximum level of pollination was obtained in maximum habitat amounts in both fragmented and aggregated patterns. Table 3 presents the results of the statistical relationship between landscape metrics and pollination according to habitat loss at the landscape and farm levels. In this table, random and fractal landscapes are presented at the mentioned levels separately. According to Table 3, the number of patches (NP) showed a significant negative relationship with pollination at both landscape and farm levels, meaning that reducing the number of patches increased pollination. The inverse relationship between the DIVISION and pollination also showed that fragmented patterns reduced pollination at both landscape and farm levels. The negative correlation of ED and PAFRAC with pollination indicated that less complex patches could   Table 3 showed that landscapes with a high degree of habitat aggregation raise pollination rate at both landscape and farm levels.

The effects of fragmentation per se on pollination
Our results showed that fragmentation per se had both positive and negative effects on pollination according to the level of analysis (i.e., landscape and farm levels). In general, according to the Lonsdorf model, fragmentation per se declined the provision of pollination at the landscape level and, surprisingly, increased this service at the farm level. Various studies have shown that fragmentation can have both positive and negative effects on pollination (Fahrig 2017). For example, in some cases, agricultural landscapes with a high degree of habitat fragmentation raise pollination (Brosi et al. 2008). Farwig et al. (2009) reported a decrease in pollination success in fragmented patterns of forest patches. Aguilar et al. (2006) also reviewed 54 studies examining the effects of fragmentation on plant reproduction. They stated that fragmentation negatively affected plant reproduction mainly due to fragmentation effects on pollinators. In contrast, landscapes with high amounts of habitat and a low degree of fragmentation have shown higher pollinator visitation (Schüepp et al. 2014). Maurer et al. (2020) found that fragmentation negatively affected bumblebee colony size in landscapes with low habitat amounts. However, when the habitat amount was high, fragmentation was useful. Foraging activity also reached its maximum in the landscapes that had small degrees of fragmentation. The results of this study indicated that the effects of fragmentation per se were strongly dependent on the habitat amount and suggested that habitat fragmentation was not inherently adverse or useful (Maurer et al. 2020).
As mentioned above, some practical studies claimed that fragmentation effects on pollination changed concerning the amount of habitat in the landscape. Especially, recent studies have shown that fragmentation per se is useful in the landscapes with a high habitat amount and adverse in the cases that habitat amount is low (Maurer et al. 2020). However, the present study revealed another remarkable aspect of the fragmentation per se effects on pollination. Our results showed that the effects of fragmentation per se on pollination were not dependent on habitat amount and in all habitat proportions; fragmentation increased pollination at the farm level and declined it at the landscape level. Therefore, the present study considers the level of analysis as another affecting factor on pollination changes caused by Table 3 The statistical relationship between landscape metrics and pollination at landscape and farm levels. P is the abbreviation of pollination that is the dependent variable in the regression models fragmentation. Although fragmentation was useful at the farm level, it should be noted that nesting habitats that provide essential non-food resources to the pollinators, might themselves be unsuitable for wild bees by overfragmentation. Besides, highly fragmented landscapes intensify the effects of habitat loss on pollination and may eradicate any initial benefit of native pollinators (Eigenbrod 2016). Figure 7 shows the examples of how pollination was estimated in landscapes with different degrees of fragmentation per se. This figure reveals more information about the Lonsdorf model. In the first column (a), a set of agricultural landscapes are shown, and in the second column (b), according to the Lonsdorf model, the fitness of the nesting patches was estimated according to the floral resources around them. In the last column (c), the probability of pollinators' abundance was obtained concerning the fitness of the nesting patches in the whole landscape. The results of this figure help us to understand why the Lonsdorf model offers different results at the landscape and farm levels.
In the second column (b), as it can be seen, the central cells of the patches have the highest values, and the marginal cells have lower values. The first landscape, which has a low degree of fragmentation per se, is shown with a large patch that its central cells have high values (close to 1). The central cells of this patch are more affected by adjacent nesting cells that have higher values than Fig. 7 Examples of estimated pollination based on the Lonsdorf model in different fragmentation patterns. The first column (a) shows the original landscapes, which are presented in different degrees of fragmentation. The second column (b) shows the fitness of the patches according to the floral resources around them, and the third column (c) shows the final maps of the pollination in the whole landscape adjacent foraging cells. Therefore, this patch shows more nesting fitness in its central cells. In fragmented patterns, patches are small and more impressed by adjacent foraging cells that usually have low fitness for nesting. Thus, the central cells of the patches receive low values. In aggregated patterns, patches are big and close to each other, and then, their cells are more impressed by adjacent nesting cells that this factor increases the average patch value. Therefore, bigger patches contain higher values of nesting fitness and give higher values to the surrounding environment than small ones. According to the above, at the landscape level, a high average pollination rate was seen in the landscapes with a low degree of fragmentation per se. At the farm level, we removed all the values related to the nesting patches from the calculations, and only the average pollination at the farm level was included in the calculations. Hence, in this case, fragmented patterns covered the entire landscape and affected more cells than aggregated patterns. In aggregated patterns, these patches were moved to one side of the landscape (column b, the first landscape), and as a result, there were many calls from the farms that were far away from these patches and practically received no value from these patches.

The effects of habitat loss on pollination
The present study in this section showed contradictory results with previous studies as well. At both landscape and farm levels, with decreasing the amount of nesting habitat, pollination decreased. Although this relationship was linear at the landscape level, pollination decreased exponentially at the farm level. Similar to the results of the fragmentation section, fragmentation increased the pollination at the landscape level and decreased it at the farm level (Fig. 6). Inconsistent with previous studies which have shown the maximum level of pollination at the intermediate ranges of habitat amount, i.e., about 50% of landscape (Mitchell et al. 2015a), in the present study, the maximum level of pollination was seen at the highest amounts of nesting habitat, in other words, when there was no habitat loss and the landscapes were completely covered by forest habitat. The reason given by other studies for the position of the maximum service at the intermediate ranges of habitat loss is that the provision of services such as pollination occurs only when natural and semi-natural habitats have some juxtaposition, and this juxtaposition occurs when we have some loss and fragmentation in the natural habitat (Eigenbrod 2016).
One of the assumptions of the Lonsdorf model was that it did not consider nesting habitats solely for nesting and assumed that there might be floral resources in these nesting habitats, and bees pollinate in these areas. For this reason, in the InVEST software (Sharp et al. 2014), for estimating pollination based on the Lonsdorf model, one of the required data from the user is to determine the level of suitability of nesting and foraging habitats for each land cover, which considers multiple benefits of these habitats. So here again, we are faced with the ambiguity of the Lonsdorf model, which is, why do we get the highest level of pollination when farms make up less than 1% of the entire landscape? To answer this question, we need to refer to Fig. 7. In the last column (c), it can be seen that more values of pollination are estimated in nesting habitats, implying that the high pollination rates occur in landscapes with a high percentage of nesting habitat. As a result, it is easy to conclude that increasing the amount of nesting habitat raises pollination, even if there are no farms in the landscape. Therefore, in studies claiming that pollination reaches its maximum at the intermediate ranges of habitat amount, one of their assumptions is that the nesting habitat is considered solely for nesting, and pollination in these areas is not possible.
It should be noted that Figs. 5 and 6 showed that landscapes with a high degree of fragmentation provided less pollination at the landscape level and more pollination at the farm level. In contrast, as Table 3 showed, fragmented patterns presented less pollination at both landscape and farm levels. Therefore, at first sight, it can be concluded that there is a paradox between the results presented in Table 3 and previous results. It should be emphasized that in evaluating the effects of habitat loss on pollination, the amount of habitat was not constant. Therefore, the effect of fragmented or aggregated patterns on pollination could not be estimated separately, and the habitat amount decreases constantly at each stage in the habitat loss trend.

Conclusion
The present study was one of the few studies that examined the effects of fragmentation on pollination independently of habitat loss. We found two significant and new results: (1) Effects of habitat loss and fragmentation per se on pollination at the landscape and farm levels were completely different, and (2) effects of fragmentation per se on pollination were not dependent on habitat amount. The prior can mislead landscape planners, as they cannot adopt suitable strategies to increase pollination in a landscape based on the Lonsdorf model. If they intend to increase pollination in the whole region or at the landscape level by creating new forest patches, the pattern of these patches should be aggregated. In this situation, they will face a decrease in pollination at the farm level. Therefore, it seems that the Lonsdorf model does not provide the same result for landscape and farm levels and produces confusing results in this field. In general, this model is one of the most common and widely used models for estimating pollination in a landscape, which can be used for different types of pollinating bees in different seasons. Our study emphasized significant alarms about the Lonsdorf model that other studies that have criticized this model (Olsson et al. 2015) have not addressed the problems.
The original native landscapes are prone to vary greatly across their ranges due to numerous human drivers (i.e., railway, road, industries, and built-up area). Besides, climatic parameters like, temperature, also affect the presence of pollinators in a landscape. Therefore, the pollinator's population and diversity are constantly changing in the landscapes. However, the present study ignored the mentioned factors and acknowledged that the results of the model used in the research might include significant uncertainty due to the limitations of the study and the difficulties with modeling a complex process like pollination. Therefore, we suggest future studies to use better models based on actual data to consider more variables affecting pollinator presence in different ecosystems.
Among the landscape metrics used in our study, several metrics showed a high correlation with pollination that can be considered as a proxy for pollination in the future. These indicators were the DIVISION, the number of patches (NP), and the mean Euclidean nearestneighbor distance (ENN-MN).