Which modules?
Some like say Thrusters, won't be allowed to be fitted if they the ship masses more than their max mass.
Same for shields cannot be fitted if the hull mass is too great
Life support cannot be undersized nor sensors but have been like that since release