Improved by using direct buffer.
Fix for not working invalidate() on some devices.
Level segments were increased.