Need to add the zero variance check in Pool estimation because it could cause error in the PCA in certain scenarios