random generator uses open bounderies