see TODO fore remaining 3 modules in vector-algorithms