Add to Makefile a RELEASE parameter that disables asserts.
Use more optimal boost::circular_buffer instead of vector and rotate().
Add NDEBUG when RELEASE = 1.