Use max nside = 2**29, to fit in signed 64-bit integer