Slight optimization to temp arrays to avoid lookup query sometimes in is.temp