The integer homology threshold in $Y_d(n, p)$