remove check for valid square in build tree path