added uselayoutrounding
added comments