Constrained plasticity reserve as a natural way to control frequency and weights in spiking neural networks