Added prime number offset generation
Small fix