bug fixes and specifically fix for 16 byte SSE instruction alignment