Revert "use margin"

This reverts commit d7018629d6387937d33b6ed5d9a9bb3d8c095105.
bg