Improve performance. Only update neighbors of live blocks
Remove test code and MIT boilerplate