Spacing based on density