Planning Optimal Library Spaces