attempt on smart utilisation of leaps, so far failed