Examining the representation of spatial short-term memories through the lens of resource allocation theory