using precise calculations on interaction

This modification improves picture a bit