Fixed wrong vertices definition in SpheresFactory.