if a car was compacted into a cube would the weight change?

of course not.