public Stream<String> placeFigures(Stream<String> boards) {
        if (Objects.isNull(boards)) {
            throw new IllegalStateException("boars are null");
        }
        Stream<String> boardsToReturn = placePartOfChain(boards);
        if (Objects.nonNull(chain)) {
            return this.chain.placeFigures(boardsToReturn);
        }
        return boardsToReturn;
    }