Works with 2D scans