Thread for hver array