bugfix: hash size
minor style changes
insertion sort
merged capture generator