improved rubberbanding