refactored project for better easier switch between sse and scalar