optimized stroke preview