A new functional form for global potentials of floppy molecules