Forward posterior ensemble using less memory