Redesigning an integrated layout for a medium scale manufacturing unit with optimization of resources