RMQ, not solved