partial bounds optimization for stroke