add MAX_PLACEABLES support