Prediction of grain boundary segregation using nano-polycrystalline grain boundary model