1. 15
  1.  

  2. 7

    As per the edit on the post, you might find starting from the design document of the prototype I wrote following this more comprehensible. I didn’t actually do a very good job of explaining myself in this blog post.