are all nvidia cards the same size?
Yes they do! Reference cards (meaning, the base card released by NVidia), vary in size, so that as you mentioned a GTX 950 would be a different size from a GT 520 even if you bought straight from NVidia.