The radius of gyration of a body depends upon