the spider wants to maximise the ammount of flies caught in its web