Sets the span at the correct location. Fixes #13