BF: fixed memory access error in simplify warp function