re-created formula for mopub. only papertoss needs this formula. nothing else should use it. other games should use the copy of mopub included in platform 30