removed out of mem issue with latent positions