Molecular modeling of cellulose in amorphous state part II: effects of rigid and flexible crosslinks on cellulose