Some improvments to take better advantage of the cache line size