a2e132dd4b
- rewrite loops to not use divisions and multiplications - remove warnings as the current implementations seems to be correct (ignore additional vertices)