optimizing unsupported layers