Prepared constructor for custom width and height