RMQ as MCA and missing ints problem