Fine tuning of manipulators to fix distributions at boundaries