shootout-nbody improvements

- minimize bound check
- factorise operations
- ~1.15 faster