Extract Solids from corridors with shape codes