add sparse option
add tests, implement max_slug_length options