Moved landmark refinement to the logic class