title: Sum reduction of binary sequence
body: <p>Consider a binary sequence:</p>
  
  <p>11000111</p>
  
  <p>I have to find sum of this series (actually in parallel)</p>
  
  <p>Sum =1+1+0+0+0+1+1+1= 5</p>
  
  <p>This is a waste of resource as why invest time in adding 0s?</p>
  
  <p>Is there any clever way to sum this sequence so I can avoid unnecessary additions?   </p>