Added offset param to measurement boxes