Schematic setup for hydrocracking with hydrogen recovery