RMQ at the piano-edit