Edited margins of boundary box