Working with smears, trying some optimization