fn create_piece( pt: PT, bb: BoundingBox, dir: Direction, depth: i32, rng: &mut LegacyRandom, ) -> Piece