Increment a variable value per block