2D/3D generation for small compounds