Nanospheres generate out-of-plane magnetization