updated bounds, removed superfluous layers in TM