A finite mixture model for multilevel data