Filament Deposition Algorithm