Use numpy arrays instead of lists.