improved aligned_memory class; added "rescue plan" for SSE failing