Added simple and fast alternative for trunk8 library, which was the main reason of performance problems.