Max substring size with no repeated chars