updated allocation module for rectangular cases (fibers+gals)