>b) just have initial if clauses that return all objects if a distance >= >min(width, height) is specified Obviously also need to account for the new includeOrigin parameter as well (so all minus those at the origin point if true). Regards, Stuart