- added possibility to use authentication (parameters -Dusername, -Dpassword)
- optimized for large subsets