Mind the Gap: Using Wireless Sensors to Measure Gaps Efficiently