modules allocation