largely improve paint speed by avoiding empty bins