thread out of bound, larger than 512