Trying several things to improve the 'stuff falling outside the target bounds' penalty. Finally found a good method, after trying some unnecessarily complicated stuff.