revised NMODS down to 1000 to prevent compilation error on iridis