no more scipy dependency