Forgot to shuffle the num[] array! That was probably introducing