Homogenization of the Robin problem in a thick multilevel junction