legal

Avoid calls to pos.legal() in most cases in search()