To the city 's School Construction Authority , it was a stroke of luck : a vacant former yeshiva in Canarsie , Brooklyn , up for sale just as the agency was planning to build a new school in the neighborhood .