I think we may as well calculate this on the constructor to try to reduce the amount of work being done. If possible, just get rid of the properties and just put these as attributes (threshold, x_limits, y_limits).