Set measureBox limits