the reason of malfunction is greater and equal than not be used. all function correctly worked. add vector to simplify unaligned array functions.