Fixes regression on spacing algorithm