Issue: #17

  * adding filling algorithm