Adjust the segment in place instead in different locations.

Change-Id: I4bfc2227161decb5ba5e96ec39d4dbd9d2699d34
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>