amelioration code k-slicing