fix p-slice integal search coding