refactor optimizePipelineRegisterPlacement; fix bug in insertFillerNodes