Vacuum boundary modifications of the RFX-mod machine