Fixed delta by using doubles.