Traditional samba is likely the reason that explodes the image size.
You might try the more modern ksmbd instead.