Handling many values at onces

Hello,my issue is that i basically have around ~2044 parts related to each other,they are basically a field with numbers

The basic concept is that the values are always tying to stay even,so lets say a single one changes then it evens out the numbers between its neighbours and so on…

Only issue is that it needs to be updated every ~0.5s and things tend to get overly laggy when updating many things at once. I wonder if there is any optimal way to do it where the server wont give up.

I don’t think its very optimal having you change THAT MANY values at once. Maybe tone down the amount of parts you are using, or slow down the time you’re spending to change the values.