Beginning of a CFG with the concept of shape