sensor_placement: some code-clean-up