Add support for custom bed shapes