Cleaned up  the "if statements" in the multiblock constructor class